IBM Books

Software User's Guide Version 3.4


The Operating/Monitoring Process (GWCON - Talk 5) and Commands

This chapter describes the GWCON process and includes the following sections:


What is GWCON?

The Gateway Console (monitoring) process, GWCON (also referred to as CGWCON), is a second-level process of the device user interface.

Using GWCON commands, you can:

The GWCON command interface is made up of levels called modes. Each mode has its own prompt. For example, the prompt for the SNMP protocol is SNMP>.

If you want to know the process and mode you are communicating with, press enter to display the prompt. Some commands in this chapter, such as the network and protocol commands, allow you to access the various modes in GWCON.


Entering and Exiting GWCON

To enter GWCON from OPCON (*), choose one of the following methods:

  1. Enter the OPCON console command:
    * console
    
  2. At the OPCON prompt, enter the status command to find the PID of GWCON. (See page *** for a sample output of the status command.)
    * status
    

    Then, enter the talk command followed by the PID number for GWCON:

    * talk 5
    

The console displays the GWCON prompt (+). If the prompt does not appear, press enter. Now you can enter GWCON commands.

To return to OPCON, enter the OPCON intercept character. (The default is Ctrl-P.)


GWCON Commands

This section contains the GWCON commands. Each command includes a description, syntax requirements, and an example. The GWCON commands are summarized in Table 12.

To use the GWCON commands, access the GWCON process by entering talk 5 and enter the GWCON commands at the (+) prompt.

Table 12. GWCON Command Summary
Command Function
? (Help) Displays all the commands available for this command level or lists the options for specific commands (if available). See "Getting Help".
Activate Enables a newly configured spare interface.
 Buffer   Displays information about packet buffers assigned to each interface. 
 Clear   Clears network statistics. 
 Configuration   Lists status of the current protocols and interfaces. 
 Disable   Takes the specified interface or slot off line. 
 Disk   Lists, retrieves, and deletes service-related files. 
 Enable   Enables all interfaces. 
 Error   Displays error counts. 
 Event   Enters the Event Logging System environment. 
 Feature   Provides access to console commands for independent device features outside the usual protocol and network interface console processes. 
 Interface   Displays network hardware statistics or statistics for the specified interface. 
 Memory   Displays memory, buffer, and packet data. 
 Network   Enters the console environment of the specified network. 
 Performance   Provides a snapshot of the main processor utilization statistics. 
 Protocol   Enters the command environment of the specified protocol. 
 Queue   Displays buffer statistics for a specified interface. 
 Reset   Disables the specified interface and then re-enables it using new interface, protocol and feature configuration parameters. 
 Statistics   Displays statistics for a specified interface. 
 Test   Enables a disabled interface or tests the specified interface. 
 Uptime   Displays time statistics for the device. 

Activate

Use the activate command to enable a spare interface on this device. See "Configuring Spare Interfaces" for more information.

Syntax:

activate
interface#

Buffer

Use the buffer command to display information about packet buffers assigned to each interface or range of interfaces.
Note:Each buffer on a device is the same size and is dynamically built. Buffers vary in size from one device to another.

To display information about one interface only, enter the interface or network number as part of the command. To obtain the interface number, use the GWCON configuration command.

Syntax:

buffer
[network# or range_of_network#]

To display information about multiple interfaces, specify the range_of_network# (or a combination of network# and range_of_network#). For example, specifying buffer 0 3 25-50 displays the information for nets 0, 3, and 25 through 50.

Example:

+buffer
                    Input Buffers        Buffer sizes                   Bytes
Net   Interface     Req Alloc Low Curr   Hdr  Wrap  Data Trail Total    Alloc
0     PPP/0          24    24   4   24    87    92  2044    17  2240    53760
1     PPP/1          24    24   4   24    87    92  2044    17  2240    53760
2     PPP/2          24    24   4   24    87    92  2044    17  2240    53760
3     PPP/3          24    24   4   24    87    92  2044    17  2240    53760
4     TKR/0          40    40   7   40    85    92 18144     7 18328   733120
5     TKR/1          40    40   7    0    85    92  2052     7  2236    89440
6     TKR/2          40    40   7    0    85    92  2052     7  2236    89440
7     TKR/3          40    40   7   40    85    92 18144     7 18328   733120
8     TKR/4          40    40   7   40    85    92 18144     7 18328   733120
9     Eth/0          64    64  10   64    84    92  1500     4  1680   107520
10    Eth/1          64    64  10    0    84    92  1500     4  1680   107520

Nt
Network interface number associated with the software.

Interface
Type of interface.

Input Buffers:
 

Req
Number of receive buffers requested. This is either the device's default number of receive buffers or a valid value set with the CONFIG (Talk 6) set receive-buffers command.

Notes:

  1. If this column is 0 for an interface, then this is a virtual interface for which receive buffers are not allocated. In this case, the virtual interface uses the receive buffers of the device that it is mapped to. For example, a dial circuit interface uses the receive buffers of its base net or interface.

  2. If you specify a value on the CONFIG set receive-buffers command that is not supported by the device, then the number of buffers requested is equal to the device's default number of receive buffers.

Alloc
Number of receive buffers allocated.
Note:The number of receive buffers allocated is less than the number of receive buffers requested if there is not enough memory available to allocate the requested number of buffers.

Low
The device's low threshold for receive buffers. When the current number of receive (input) buffers for an interface is less than the interface's low threshold, the packet is eligible for flow control (dropping). See the description of the GWCON (Talk 5) queue command for more details on flow control. The low threshold is configurable using the CONFIG (Talk 6) set input-low-water command.

Curr
Current number of buffers on this device. The value will be 0 if the device is disabled. When a packet is received, if the value of Curr is below Low, then the packet is eligible for flow control. (See the queue command for conditions.)

Buffer Sizes:
 

Hdr
Sum of the maximum hardware, MAC, and data link headers.

Wrap
Allowance given for MAC, LLC, or Network layer headers due to protocol wrapping.

Data
Maximum data link layer packet size.

Trail
Sum of the largest MAC and hardware trailers.

Total
Overall size of each packet buffer.

Bytes Alloc
Amount of buffer memory for this device. This value is determined by multiplying the values of Alloc x Total.

Clear

Use the clear command to delete statistical information about one or all of the device's network interfaces. This command is useful when tracking changes in large counters. Using this command does not save space or speed up the device.

Enter the interface (or net) number as part of the command. To get the interface number, use the GWCON configuration command.

Syntax:

clear
interface# or range_of_interface#

To clear information about multiple interfaces, specify the range_of_network# (or a combination of interface# and range_of_interface#). For example, specifying clear 0 3 25-50 clears the information for nets 0, 3, and 25 through 50.

Configuration

Use the configuration command to display information about the protocols and network interfaces. The output is displayed in three sections, the first section lists the device identification, software version, boot ROM version, and the state of the auto-boot switch. The second and third sections list the protocol and interface information.

Syntax:

configuration
 

To display information about multiple interfaces, specify the range_of_network# (or a combination of network# and range_of_network#). For example, specifying configuration 0 3 25-50 displays the information for nets 0, 3, and 25 through 50.

Example:

configuration
 
Access Integration Services
2212-AIS Feature 3763 V3.2 Mod 0 PTF 0 RPQ 0 AIS.EH5   cc_156c
Num Name  Protocol
3   ARP    Address Resolution
7   IPX    NetWare IPX
11  SNMP   Simple Network Management Protocol
23  ASRT   Adaptive Source Routing Transparent Enhanced Bridge
24  HST    TCP/IP Host Services
25  LNM    LAN Network Manager
 
Num Name  Feature
2   MCF    MAC Filtering
7   CMPRS  Data Compression Subsystem
9   DIALs  Dial-in Access to LANs
10  AUTH   Authentication
 
11 Total Networks:
Net  Interface   MAC/Data-Link        Hardware                       State
0    PPP/0       Point to Point       SCC Serial Line                Up
1    PPP/1       Point to Point       SCC Serial Line                Down
2    PPP/2       Point to Point       SCC Serial Line                Down
3    PPP/3       Point to Point       SCC Serial Line                Down
4    TKR/0       Token-Ring/802.5     IBM Token Ring                 Up
5    TKR/1       Token-Ring/802.5     IBM Token Ring                 Not present
6    TKR/2       Token-Ring/802.5     IBM Token Ring                 Not present
7    TKR/3       Token-Ring/802.5     IBM Token Ring                 Up
8    TKR/4       Token-Ring/802.5     IBM Token Ring                 Up
9    Eth/0       Ethernet/IEEE 802.3  10/100 Ethernet                Up
10   Eth/1       Ethernet/IEEE 802.3  10/100 Ethernet                Down

The following information is displayed for protocols:

Num
Number that is associated with the protocol.

Name
Abbreviated name of the protocol.

Protocol
Full name of the protocol.

The following information is displayed for features:

Num
Number associated with the feature.

Name
Abbreviated name of the feature.

Feature
Full name of the feature.

The following information is displayed for networks:

Net
Network number that the software assigns to the interface. Networks are numbered starting at 0. These numbers correspond to the interface numbers discussed under the CONFIG process.

Interface
Name of the interface and instance of this type of interface.

MAC/Data Link
Type of MAC/Data link configured for the interface.

Hardware
Specific kind of interface by hardware type.

State
Current state of the network interface.

Testing
Indicates that the interface is undergoing a self-test. Occurs when the device is first started, when a problem is detected on the interface, or when the test command is used. (The enable slot command can also be used to initiate a self-test of all interfaces on an adapter.)

When an interface is operational, the interface periodically sends out maintenance packets and/or checks the physical state of the port or line to ensure that the interface is still functioning correctly. If the maintenance fails, the interface is declared down and a self-test is scheduled to run in 5 seconds. If a self-test fails, the interface transitions to the down state and the interval until the next self-test is increased up to a maximum of 2 minutes. If the self-test is successful, the network is declared up.

Up
Indicates the interface is operational.

Down
Indicates that the interface is not operational and has failed a self-test. The network will periodically transition to the testing state to determine if the interface can become operational again.

Disabled
Indicates that the interface is disabled. An interface can be disabled by the following methods:
  • An interface can be configured as disabled using the CONFIG disable command. Each time the device is reinitialized, the interface's initial state will be disabled. It will remain in the disabled state until an action is taken to enable it.
  • An interface can be disabled using the GWCON disable command. This method is temporary because the interface will revert to its configured state (enabled or disabled) when the device is reinitialized.
  • The network manager can disable the interface through SNMP. This method is temporary because the interface will revert to its configured state (enabled or disabled) when the device is reinitialized.

When an interface is disabled, it remains disabled until one of the following methods is used to enable it:

  • The GWCON test command is used to start a self-test of the interface.
  • The GWCON enable slot command is used to start a self-test on all interfaces on an adapter.
  • The network manager initiates a self-test of the interface through SNMP.

WAN Reroute also can change the state of a disabled interface. If an interface is configured as an alternate interface for WAN Reroute and its configured state is disabled, WAN Reroute will start a self-test of the interface when the primary interface goes down. When the primary interface is operational and stable again, WAN Reroute puts the alternate interface back to its configured state. Refer to The WAN Reroute Feature in Using and Configuring Features for more information.

Available
Indicates that the interface has been configured as a secondary WAN Restoral interface and it is available to back up the primary interface.

Not Present
Indicates that the interface's adapter is not plugged in.

Not Present is also used as the state for a null device. Spare interfaces are displayed as null devices until they are activated.

HW Mismatch
Indicates that the configured adapter type does not match the adapter type that is actually present in the slot.

HW Failure
Indicates that there is an unrecoverable hardware error for the interface's hardware.

Diagnostics
Indicates that hardware diagnostics are running.

Disable

Use the disable command to take a network interface or slot off-line, making the interface or slot unavailable. This command immediately disables the interface or slot. You are not prompted to confirm, and no verification message displays. If you disable an interface or slot with this command, it remains disabled until you use the GWCON test command or an OPCON restart or reload command to enable it.

Enter the interface or net number or slot as part of the command. To obtain the interface number or slot number, use the GWCON configuration command.
Note:The 2212 compression/encryption device is a coprocessor. The command disable slot is not applicable to the coprocessor. Use the disable coprocessor command to disable each interface.
Note:If the interface you are disabling is configured as an alternate WAN Reroute interface, you are asked if you want to disable any WAN Reroute primary/alternate pairings that include this alternate interface. If you answer yes, the interface is disabled and is no longer available to backup a primary interface. If you answer no, the alternate interface is disabled but WAN Reroute will attempt to bring it up if its corresponding primary interface goes down. You want to disable WAN Reroute on an alternate interface if you are disabling the interface so that you can remove its adapter. See The WAN Reroute Feature, Using WAN Restoral, and Configuring and Monitoring WAN Restoral in the Using and Configuring Features for additional information.

Syntax:

disable
coprocessor interface#

interface interface#

slot slot#

The disable coprocessor command will disable the compression/encryption device and all the compression/encryption operations will be diverted to the software device.

Disk

Use the disk command to list, retrieve, or delete service-related files from the hard disk. The following categories of files can be listed, retrieved, or deleted: APPN, Adapter, ELS, SYSTEM or other (other files are ones that do not fit into another category). Only files that are actually located are listed. The following information is provided for the files that are located: name, comment that tells what the file is, size of the file, and the date that the file was created. For the system dump files, additional information is given about the dump. When retrieving or deleting a file, you are prompted to confirm the command. For retrieving a file, you will also need to provide the destination IP address that defines where the file should be sent and the name to be given to the file when it is written.

Syntax:

disk
list category

retrieve category

delete category

The categories are: adapter, appn, els, other, and system.

Example:

+disk list system 
'core' Master System dump file (uncompressed) 
Size: 268435456 bytes Date: Tues Apr 06 10:054:30 1999 
'core0.cmp' System dump file (compressed) 
Size: 11208443 bytes Date: Tues Apr 06 10:15:28 1999 
'core1.cmp' System dump file (compressed) 
Size: 11150344 bytes Date: Tues Apr 06 10:54:30 1999 
There are 3 different files 
Do you want to see the details of the compressed dumps? [No]: n 

Enable

Use the Enable command to enable all interfaces of an adapter. This performs the same action as the test command (see "Test") but performs the action for each interface using the adapter in the specified slot.
Note:The 2212 compression/encryption device is a coprocessor. The command enable slot command is not applicable to the coprocessor. Use the enable coprocessor command to enable each interface.

Syntax:

coprocessor interface#

slot slot#

The enable coprocessor command will enable the compression/encryption device and all the compression/encryption operations will be diverted to the hardware device.

Error

Use the error command to display error statistics for the network. This command provides a group of error counters.

Syntax:

error
[network# or range_of_network#]

To display information about multiple interfaces, specify the range_of_network# (or a combination of network# and range_of_network#). For example, specifying error 0 3 25-50 displays the information for nets 0, 3, and 25 through 50.

Example:

+error
                     Input      Input     Input      Input     Output    Output
Net  Interface    Discards     Errors  UnkProto  Flow Drop   Discards    Errors
0    PPP/0               0          0         0          0          0    
    0
1    PPP/1               0          0         0          0          0    
    0
2    PPP/2               0          0         0          0          0    
    0
3    PPP/3               0          0         0          0          0    
    0
4    TKR/0               0          0        21          0          0    
    0
5    TKR/1               0          0         0          0          0    
    0
6    TKR/2               0          0         0          0          0    
    0
7    TKR/3               0          0        17          0          0    
    0
8    TKR/4               0          0        22          0          0    
    0
9    Eth/0               0          0         0          0          0    
    0
10   Eth/1               0          0         0          0          0    
    0

Nt
Network interface number associated with the software.

Interface
Type of interface.

Input Discards
Number of inbound packets which were discarded even though no errors were detected to prevent their being deliverable to a higher-layer protocol. The packets may have been discarded to free buffer space.

Input Errors
Number of packets that were found to be defective at the data link.

Input Unk Proto
Number of packets received for an unknown protocol.

Input Flow Drop
Number of packets received that are flow controlled on output.

Output Discards
Number of packets that the device chose to discard rather than transmit due to flow control.

Output Errors
Number of output errors, such as attempts to send over a network that is down or over a network that went down during transmission.
Note:The sum of the discarded output packets is not the same as input flow drops over all networks. Discarded output may indicate locally originated packets.

Event

Use the event command to access the Event Logging System (ELS) console environment. This environment is used to set up temporary message filters for troubleshooting purposes. All changes made in the ELS console environment will take effect immediately, but will go away when the device is reinitialized. See "Using the Event Logging System (ELS)" for information about the Event Logging System and its commands. Use the exit command to return to the GWCON process.

Syntax:

event
 

Feature

Use the feature command to access console commands for specific 2212 features outside of the protocol and network interface console processes.

Enter a question mark after the feature command to obtain a listing of the features available for your software release.

To access that feature's console prompt, enter the feature command at the GWCON prompt followed by the feature number or short name. Table 9 lists available feature numbers and names.

Once you access the prompt for that feature, you can begin entering specific commands to monitor that feature. To return to the GWCON prompt, enter the exit command at the feature's console prompt.

Syntax:

feature
feature# or feature-short-name

Interface

Use the interface command to display statistical information about the network interfaces (for example, Ethernet). This command can be used without a qualifier to provide a summary of all the interfaces or with a qualifier to reveal detailed information about one specific interface.

Descriptions of detailed output for each type of interface are provided in the specific interface Monitoring chapters found in this guide. To obtain the interface number, use the GWCON configuration command.

Syntax:

interface
[interface# or range_of_interface#]

To display information about multiple interfaces, specify the range_of_network# (or a combination of interface# and range_of_interface#). For example, specifying interface 0 3 25-50 displays the information for nets 0, 3, and 25 through 50.

Example: interface

+interface
                                             Self-Test  Self-Test Maintenance
Net   Net'   Interface                          Passed     Failed      Failed
0     0      PPP/0                                   2          0        
  0
1     1      PPP/1                                   0        165        
  0
2     2      PPP/2                                   0        165        
  0
3     3      PPP/3                                   0        165        
  0
4     4      TKR/0       Slot: 5   Port: 1           1          0        
  0
5     5      TKR/1       Slot: 1   Port: 1           0          0        
  0
6     6      TKR/2       Slot: 1   Port: 2           0          0        
  0
7     7      TKR/3       Slot: 2   Port: 1           1          0        
  0
8     8      TKR/4       Slot: 2   Port: 2           1          0        
  0
9     9      Eth/0       Slot: 3   Port: 1           1          0        
  0
10    10     Eth/1       Slot: 3   Port: 2           0        125        
  0
Note:The following information may be displayed. The display varies depending on the device.

Nt
Global interface number.

Nt'
Reserved for dial circuit use. Interface number of the physical network interface that the dial circuit uses.

Interface
Interface name.

Slot-Port
Slot number and port number of the interface.

Self-Test Passed
Number of times self-test succeeded (state of interface changes from down to up).

Self-Test Failed
Number of times self-test failed (state of interface changes from up to down).

Maintenance Failed
Number of maintenance failures.

Memory

Use the memory command to display the current CPU memory usage in bytes, the number of buffers, and the packet sizes.

To use this command, free memory must be available. The number of free packet buffers may drop to zero, resulting in the loss of some incoming packets; however, this does not adversely affect device operations. The number of free buffers should remain constant when the device is idle. If it does not, contact your service representative.

Syntax:

memory
 

Example:

memory
Physical installed memory:        16 MB                              
Total routing (heap) memory:      12 MB                              
Routing memory in use:            13 %                               
                                                                     
                  Total  Reserve    Never     Perm     Temp     Prev 
                                    Alloc    Alloc    Alloc    Alloc 
Heap memory    12231155    26488 10687312  1438487   104924      432 
                                                                     
Number of global buffers: Total = 300, Free = 300, Fair = 77, Low = 60                                                                   
Global buff size: Data = 2048, Hdr = 17, Wrap = 72, Trail = 65, Total = 2208                                                             

Physical installed memory
The total amount of physical RAM installed in the device.

Total routing memory
The amount of memory available to the routing function, not including that allocated to the base operating system, system extensions, or options such as APPN. This is also called "heap" memory, and matches the "Total" heap memory size given in bytes shortly thereafter.

Routing memory in use
The percentage of total routing memory that is currently being used by the routing function. Heap memory currently in use is counted under the following headings Perm Alloc and Temp Alloc.

Heap memory:
Amount of memory used to dynamically allocate data structures.

Total
Total amount of space available for allocation for memory.

Reserve
Minimum amount of memory needed by the currently configured protocols and features.

Never Alloc
Memory that has never been allocated.

Perm Alloc
Memory requested permanently by device tasks.

Temp Alloc
Memory allocated temporarily to device tasks.

Prev Alloc
Memory allocated temporarily and returned.

Number of global buffers:

Total
Total number of global buffers in the system.

Free
Number of global buffers available.

Fair
Fair number of buffers for each interface. (See "Low".)

Low
The number of free buffers at which the allocation strategy changes to conserve buffers. If the value of Free is less than Low, then buffers will not be placed on any queue that has more than the Fair number of buffers in it.

Global buff size:
Global buffer size.

Data
Maximum data link packet size of any interface.

Header
Sum of the maximum hardware, MAC, and data link headers.

Wrap
Allowance given for MAC, LLC, or Network layer headers due to protocol wrapping.

Trailer
Sum of the largest MAC and hardware trailers.

Total
Overall size of each packet buffer

Network

Use the network command to enter the console environment for supported networks, such as X.25 networks. This command obtains the console prompt for the specified interface. From the prompt, you can display statistical information, such as the routing information fields for Token-Ring networks.

Syntax:

network
interface#

At the GWCON prompt (+), enter the configuration command to see the protocols and networks for which the device is configured. See "Configuration" for more information on the configuration command.

Enter interface at the + prompt for a display of the networks for which the device is configured.

Enter the GWCON network command and the number of the interface you want to monitor or change. For example:

    +network 3
    X.25>
 

In the example, the X.25> prompt is displayed. You can then view information about the X.25 interface by entering the X.25 operating commands.

After identifying the interface number of the interface you want to monitor, for interface-specific information, see the corresponding monitoring chapter in this manual for the specified network or link-layer interface. Console support is offered for the following network and link-layer interfaces:

Performance

Use the performance command at the GWCON prompt to enter the monitoring environment for performance. See "Configuring and Monitoring Performance" for more information.

Protocol

Use the protocol command to communicate with the device software that implements the network protocols installed in your device. The protocol command accesses a protocol's command environment. After you enter this command, the prompt of the specified protocol appears. From the prompt, you can enter commands that are specific to that protocol.

Syntax:

protocol
prot#

Enter the protocol number or short name as part of the command. To obtain the protocol number or short name, enter the CONFIG command environment (Config>), and then enter the list configuration command. See "Accessing the Configuration Process, CONFIG (Talk 6)" for instructions on accessing Config>. To return to GWCON, enter exit.

See the corresponding monitoring chapter in this manual or in the Protocol Configuration and Monitoring Reference for information on a specific protocol's console commands.

Queue

Use the queue command to display statistics about the length of input and output queues on the specified interfaces. Information about input and output queues provided by the queue command includes:

Syntax:

queue
interface# or range_of_interface#

To display information about multiple interfaces, specify the range_of_network# (or a combination of interface# and range_of_interface#). For example, specifying queue 0 3 25-50 displays the information for nets 0, 3, and 25 through 50.

To display information about one interface only, enter the interface or network number as part of the command. To obtain the interface number, use the GWCON configuration command.

Nt
Network interface number associated with the software.

Interface
Type of interface.

Input Queue:

Alloc
Number of buffers allocated to this device.

Low
The low threshold for receive (input) buffers is used to activate flow control for this device. The low threshold is configurable using the CONFIG (Talk 6) set input-low-water command.

Curr
Current number of buffers on this device. The value will be 0 if the device is disabled.

Output Queue:

Fair
The high threshold for the interface's output queue when flow control is activated for an input device.
Note:When Bandwidth Reservation (BRS) is configured for PPP and Frame Relay interfaces, the output fair value is ignored and the queue lengths configurable with BRS are used to determine if a packet should be discarded due to flow control.

Curr
Number of packets currently waiting to be transmitted on this device. The eligibility discard depends on the global low water mark described in the memory command.

If a packet is received and the input queue current value is less than the input queue low threshold value, then the packet will be subject to flow control. For locally originated packets, a packet is subject to flow control if the number of free global buffers is less than the low threshold for global buffers. If a packet subject to flow control is to be transmitted on a device which has an output queue current value that is greater than the output queue high threshold (fair), then the packet is dropped instead of queued. When a packet is dropped due to flow control, the output discards counter is incremented and ELS event GW.036 or GW.057 is logged. If the packet was not locally originated, the input flow drop counter for the input interface is incremented. The output discards and input flow drop counters are displayed by the GWCON error command.

Due to the scheduling algorithms of the device, the dynamic numbers of Curr (particularly the Input Queue Curr) may not be fully representative of typical values during packet forwarding. The console code runs only when the input queues have been drained. Thus, Input Queue Curr will generally be nonzero only when those packets are waiting on slow transmit queues.

Reset

Use the reset command to disable the specified interface and then re-enable it using new interface, protocol and feature configuration parameters. See "Resetting Interfaces" for more information.

Syntax:

reset
interface#

Statistics

Use the statistics command to display statistical information about the network software, such as the configuration of the networks in the device.

Syntax:

statistics
interface#or range_of_interface#

To display information about multiple interfaces, specify the range_of_network# (or a combination of interface# and range_of_interface#). For example, specifying statistics 0 3 25-50 displays the information for nets 0, 3, and 25 through 50.

To display information about one interface only, enter the interface or network number as part of the command. To obtain the interface number, use the GWCON configuration command.

Example:

+statistics
Net   Interface      Unicast  Multicast      Bytes    Packets      Bytes
                    Pkts Rcv   Pkts Rcv   Received      Trans      Trans
0     PPP/0             9815          0     371690       9815     371690
1     PPP/1                0          0          0          0          0
2     PPP/2                0          0          0          0          0
3     PPP/3                0          0          0          0          0
4     TKR/0             1542      19035     968165      40455   23191382
5     TKR/1                0          0          0          0          0
6     TKR/2                0          0          0          0          0
7     TKR/3            74578      32850  114045027      52537   51234542
8     TKR/4            49653      19228   52034171      87285  113444199
9     Eth/0                0         10        670       2438     146280
10    Eth/1                0          0          0          0          0
 

Nt
Network interface number associated with the software.

Interface
Type of interface.

Unicast Pkts Rcv
Number of non-multicast, non-broadcast specifically-addressed packets at the MAC layer.

Multicast Pkts Rcv
Number of multicast or broadcast packets received.

Bytes Received
Number of bytes received at this interface at the MAC layer.

Packets Trans
Number of packets of unicast, multicast, or broadcast type transmitted.

Bytes Trans
Number of bytes transmitted at the MAC layer.

Test

Use the test command to verify the state of an interface or to enable an interface that was previously disabled with the disable command. If the interface is enabled and passing traffic, the test command will remove the interface from the network and run self-diagnostic tests on the interface.

Syntax:

test
interface#
Note:For this command to work, you must enter the complete name of the command followed by the interface number.

Enter the interface or network number as part of the command. To obtain the interface number, use the GWCON configuration command. For example, when testing starts, the console displays the following message:

   Testing net 0 Eth/0...
 
 

When testing completes or fails, or when GWCON times out (after 30 seconds), the following possible messages are displayed:

   Testing net 0 Eth/0 ...successful
   Testing net 0 Eth/0 ...failed
   Testing net 0 Eth/0 ...still testing
 
 
 

Some interfaces may take more than 30 seconds before testing is done.
Note:If the interface you are testing is configured as an alternate WAN Reroute interface, you are prompted:
  • If you want to enable the interface's primary-alternate pairings if WAN Reroute is currently disabled for the alternate interface.

    If you answer yes, the same action occurs as when you enter the t 5 enable alternate-circuit WAN reroute command described in Configuring and Monitoring WAN Restoral in Using and Configuring Features.

  • If you want to test the interface.

    Normally an alternate WAN Reroute interface is disabled until it is needed to back up its corresponding primary interface. If you answer yes, a self-test is started for the interface. If you answer no, a self-test does not occur.

See The WAN Reroute Feature, Using WAN Restoral, and Configuring and Monitoring WAN Restoral in the Using and Configuring Features for additional information.

Uptime

Use the uptime command to display time statistics about the device, including the following:

Syntax:

uptime
 


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]